100 |
How can I programmatically change the column where incremental searching is performed
OBJECT g2antt,items; g2antt = ObjectByName("AN1") ; _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column 1"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column 2"); items = _ObjectGetProperty( g2antt , "Items"); _ObjectCallMethod(g2antt, "TemplatePut", "Dim iteObj") _ObjectCallMethod(g2antt, "TemplatePut", items) _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.CellValue(AddItem(`Item 1`),1) = `SubItem 1`"); _ObjectSetProperty( g2antt , "SearchColumnIndex", 1); |
99 |
How do I disable the full-row selection in the control
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "FullRowSelect", 0); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", "One"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", "Two"); |
98 |
Is there any option to specify the height of the items, before adding them
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "DefaultItemHeight", 32); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", "One"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", "Two"); |
97 |
How do lock / fix some columns to the control, so I can see them all the time, event if I scroll the columns
OBJECT g2antt,items; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "CountLockedColumns", 1); _ObjectSetProperty( g2antt , "BackColorLock", 15790320); _ObjectSetProperty( g2antt , "ColumnAutoResize", 0); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Locked") , "Width", 128); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Un-Locked 1") , "Width", 128); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Un-Locked 2") , "Width", 128); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Un-Locked 3") , "Width", 128); items = _ObjectGetProperty( g2antt , "Items"); _ObjectCallMethod(g2antt, "TemplatePut", "Dim iteObj") _ObjectCallMethod(g2antt, "TemplatePut", items) _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.CellValue(AddItem(`locked`),1) = `unlocked`"); |
96 |
How do I change the control's background / foreground color on the locked area
OBJECT g2antt,items; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "CountLockedColumns", 1); _ObjectSetProperty( g2antt , "ForeColorLock", 15790320); _ObjectSetProperty( g2antt , "BackColorLock", 8421504); _ObjectSetProperty( g2antt , "ColumnAutoResize", 0); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Locked") , "Width", 128); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Un-Locked 1") , "Width", 128); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Un-Locked 2") , "Width", 128); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Un-Locked 3") , "Width", 128); items = _ObjectGetProperty( g2antt , "Items"); _ObjectCallMethod(g2antt, "TemplatePut", "Dim iteObj") _ObjectCallMethod(g2antt, "TemplatePut", items) _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.CellValue(AddItem(`locked`),1) = `unlocked`"); |
95 |
How do I change the control's foreground color
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "ForeColor", 7895160); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", "item"); |
94 |
How do I change the control's background color
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "BackColor", 13158600); |
93 |
How do I use my own icons for my radio buttons
|
92 |
How do I use my own icons for checkbox cells
|
91 |
How do I perform my own sorting when user clicks the column's header
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "SortOnClick", 1); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", "Item 1"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", "Item 2"); |
90 |
How do I disable sorting a specified column when clicking its header
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "1"); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "NoSort") , "AllowSort", 0); |
89 |
How do I disable sorting the columns when clicking the control's header
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "SortOnClick", 0); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "1"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "2"); |
88 |
How do I put a picture on the center of the control
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "Picture", _ObjectCallMethod( g2antt , "ExecuteTemplate", "loadpicture(`c:\exontrol\images\zipdisk.gif`)")); _ObjectSetProperty( g2antt , "PictureDisplay", 17); |
87 |
How do I resize/stretch a picture on the control's background
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "Picture", _ObjectCallMethod( g2antt , "ExecuteTemplate", "loadpicture(`c:\exontrol\images\zipdisk.gif`)")); _ObjectSetProperty( g2antt , "PictureDisplay", 49); |
86 |
How do I put a picture on the control's center right bottom side
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "Picture", _ObjectCallMethod( g2antt , "ExecuteTemplate", "loadpicture(`c:\exontrol\images\zipdisk.gif`)")); _ObjectSetProperty( g2antt , "PictureDisplay", 34); |
85 |
How do I put a picture on the control's center left bottom side
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "Picture", _ObjectCallMethod( g2antt , "ExecuteTemplate", "loadpicture(`c:\exontrol\images\zipdisk.gif`)")); _ObjectSetProperty( g2antt , "PictureDisplay", 32); |
84 |
How do I put a picture on the control's center top side
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "Picture", _ObjectCallMethod( g2antt , "ExecuteTemplate", "loadpicture(`c:\exontrol\images\zipdisk.gif`)")); _ObjectSetProperty( g2antt , "PictureDisplay", 1); |
83 |
How do I put a picture on the control's right top corner
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "Picture", _ObjectCallMethod( g2antt , "ExecuteTemplate", "loadpicture(`c:\exontrol\images\zipdisk.gif`)")); _ObjectSetProperty( g2antt , "PictureDisplay", 2); |
82 |
How do I put a picture on the control's left top corner
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "Picture", _ObjectCallMethod( g2antt , "ExecuteTemplate", "loadpicture(`c:\exontrol\images\zipdisk.gif`)")); _ObjectSetProperty( g2antt , "PictureDisplay", 0); |
81 |
How do I put a picture on the control's background
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "Picture", _ObjectCallMethod( g2antt , "ExecuteTemplate", "loadpicture(`c:\exontrol\images\zipdisk.gif`)")); |
80 |
How do I sort descending a column, and put the sorting icon in the column's header
OBJECT g2antt,items; g2antt = ObjectByName("AN1") ; _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column"); items = _ObjectGetProperty( g2antt , "Items"); _ObjectCallMethod( items , "AddItem", "Item 1"); _ObjectCallMethod( items , "AddItem", "Item 2"); _ObjectCallMethod( items , "AddItem", "Item 3"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "Columns.Item(0).SortOrder = 2"); |
79 |
How do I sort ascending a column, and put the sorting icon in the column's header
OBJECT g2antt,items; g2antt = ObjectByName("AN1") ; _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column"); items = _ObjectGetProperty( g2antt , "Items"); _ObjectCallMethod( items , "AddItem", "Item 3"); _ObjectCallMethod( items , "AddItem", "Item 1"); _ObjectCallMethod( items , "AddItem", "Item 2"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "Columns.Item(0).SortOrder = 1"); |
78 |
How do I perform my own/custom sort, using my extra numbers
OBJECT g2antt,items; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "desc") , "SortType", 5); items = _ObjectGetProperty( g2antt , "Items"); _ObjectCallMethod(g2antt, "TemplatePut", "Dim iteObj") _ObjectCallMethod(g2antt, "TemplatePut", items) _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.CellData(AddItem(0),0) = 2"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.CellData(AddItem(1),0) = 1"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.CellData(AddItem(2),0) = 0"); _ObjectCallMethod( items , "SortChildren", 0,0,0); |
77 |
How do I perform my own/custom sort, using my extra numbers
OBJECT g2antt,items; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "desc") , "SortType", 5); items = _ObjectGetProperty( g2antt , "Items"); _ObjectCallMethod(g2antt, "TemplatePut", "Dim iteObj") _ObjectCallMethod(g2antt, "TemplatePut", items) _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.CellData(AddItem(0),0) = 2"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.CellData(AddItem(1),0) = 1"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.CellData(AddItem(2),0) = 0"); _ObjectCallMethod( items , "SortChildren", 0,0,0); |
76 |
By default, the column gets sorted as strings, so how do I sort a column by time only
OBJECT g2antt,items; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "desc") , "SortType", 4); items = _ObjectGetProperty( g2antt , "Items"); _ObjectCallMethod( items , "AddItem", "11:00"); _ObjectCallMethod( items , "AddItem", "10:10"); _ObjectCallMethod( items , "AddItem", "12:12"); _ObjectCallMethod( items , "SortChildren", 0,0,0); |
75 |
By default, the column gets sorted as strings, so how do I sort a column by date and time
OBJECT g2antt,items; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "desc") , "SortType", 3); items = _ObjectGetProperty( g2antt , "Items"); _ObjectCallMethod( items , "AddItem", "1/1/2001 11:00:00 AM"); _ObjectCallMethod( items , "AddItem", "1/1/2001 10:10:00 AM"); _ObjectCallMethod( items , "AddItem", "1/10/2003"); _ObjectCallMethod( items , "SortChildren", 0,0,0); |
74 |
By default, the column gets sorted as strings, so how do I sort a column by dates
OBJECT g2antt,items; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "desc") , "SortType", 2); items = _ObjectGetProperty( g2antt , "Items"); _ObjectCallMethod( items , "AddItem", "1/1/2001"); _ObjectCallMethod( items , "AddItem", "1/2/2002"); _ObjectCallMethod( items , "AddItem", "1/10/2003"); _ObjectCallMethod( items , "SortChildren", 0,0,0); |
73 |
How do I sort a column by numbers
OBJECT g2antt,items; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "desc") , "SortType", 1); items = _ObjectGetProperty( g2antt , "Items"); _ObjectCallMethod( items , "AddItem", 1); _ObjectCallMethod( items , "AddItem", 5); _ObjectCallMethod( items , "AddItem", 10); _ObjectCallMethod( items , "SortChildren", 0,0,0); |
72 |
How do I hide the control's header bar
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "HeaderVisible", 0); |
71 |
How do change the visual appearance for the control's header bar, using EBN
|
70 |
How do I remove the control's border
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "Appearance", 0); |
69 |
I have a hierarchy and I need to filter only root items that match, with thier childs
|
68 |
I have a hierarchy and I need to filter only root items that match, without thier childs
|
67 |
I have a hierarchy and I need to filter only parent items that match, including thier childs
|
66 |
How can I get ride/hide of the "Filter For" field
OBJECT column,g2antt; g2antt = ObjectByName("AN1") ; column = _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column"); _ObjectSetProperty( column , "DisplayFilterButton", -1); _ObjectSetProperty( column , "DisplayFilterPattern", 0); |
65 |
Is there any way to get listed only visible items in the drop down filter window
OBJECT column,g2antt,items; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "LinesAtRoot", -1); _ObjectCallMethod(g2antt, "ExecuteTemplate", "Description(0) = ``"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "Description(1) = ``"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "Description(2) = ``"); column = _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "P1"); _ObjectSetProperty( column , "DisplayFilterButton", -1); _ObjectSetProperty( column , "DisplayFilterPattern", 0); _ObjectSetProperty( column , "FilterList", 1); column = _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "P2"); _ObjectSetProperty( column , "DisplayFilterButton", -1); _ObjectSetProperty( column , "DisplayFilterPattern", 0); items = _ObjectGetProperty( g2antt , "Items"); h = _ObjectCallMethod( items , "AddItem", "R1"); _ObjectCallMethod(g2antt, "TemplatePut", "Dim iteObj,h") _ObjectCallMethod(g2antt, "TemplatePut", items) _ObjectCallMethod(g2antt, "TemplatePut", h) _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.CellValue(h,1) = `R2`"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.CellValue(InsertItem(h,,`Cell 1.1`),1) = `Cell 1.2`"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.CellValue(InsertItem(h,,`Cell 2.1`),1) = `Cell 2.2`"); |
64 |
How do I filter for items that match exactly the specified string
OBJECT column,g2antt; g2antt = ObjectByName("AN1") ; column = _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column"); _ObjectSetProperty( column , "DisplayFilterButton", -1); _ObjectSetProperty( column , "FilterType", 240); _ObjectSetProperty( column , "Filter", "Item 1"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", "Item 1"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", "Item 2"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", "Item 3"); _ObjectCallMethod( g2antt , "ApplyFilter"); |
63 |
How can I can I programmatically filter for items with a specified icon assigned
OBJECT column,g2antt,items; g2antt = ObjectByName("AN1") ; _ObjectCallMethod( g2antt , "Images", "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); column = _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column"); _ObjectSetProperty( column , "DisplayFilterButton", -1); _ObjectSetProperty( column , "FilterType", 10); _ObjectSetProperty( column , "Filter", 1); items = _ObjectGetProperty( g2antt , "Items"); _ObjectCallMethod(g2antt, "TemplatePut", "Dim iteObj") _ObjectCallMethod(g2antt, "TemplatePut", items) _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.CellImage(AddItem(`Image 1`),0) = 1"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.CellImage(AddItem(`Image 1`),0) = 1"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.CellImage(AddItem(`Image 2`),0) = 2"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.CellImage(AddItem(`Image 3`),0) = 3"); _ObjectCallMethod( g2antt , "ApplyFilter"); |
62 |
How can I can I programmatically filter the checked items
OBJECT column,g2antt,items; g2antt = ObjectByName("AN1") ; column = _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column"); _ObjectCallMethod(g2antt, "TemplatePut", "Dim colObj") _ObjectCallMethod(g2antt, "TemplatePut", column) _ObjectCallMethod(g2antt, "ExecuteTemplate", "colObj.Def(0) = True"); _ObjectSetProperty( column , "DisplayFilterButton", -1); _ObjectSetProperty( column , "FilterType", 6); _ObjectSetProperty( column , "Filter", 0); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 0); items = _ObjectGetProperty( g2antt , "Items"); _ObjectCallMethod(g2antt, "TemplatePut", "Dim iteObj") _ObjectCallMethod(g2antt, "TemplatePut", items) _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.CellState(AddItem(1),0) = 1"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 2); _ObjectCallMethod( g2antt , "ApplyFilter"); |
61 |
How can I can I filter programmatically the items based on some numerichal rules
OBJECT column,g2antt; g2antt = ObjectByName("AN1") ; column = _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column"); _ObjectSetProperty( column , "DisplayFilterButton", -1); _ObjectSetProperty( column , "FilterType", 5); _ObjectSetProperty( column , "Filter", "> 0 <= 1"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 0); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 1); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 2); _ObjectCallMethod( g2antt , "ApplyFilter"); |
60 |
How can I can I filter programmatically the items based on a range/interval of dates
|
59 |
How can I can I filter programmatically given a specified pattern using wild characters like * or
OBJECT column,g2antt; g2antt = ObjectByName("AN1") ; column = _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column"); _ObjectSetProperty( column , "DisplayFilterButton", -1); _ObjectSetProperty( column , "FilterType", 3); _ObjectSetProperty( column , "Filter", "0*"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 0); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", "00"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 1); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", "11"); _ObjectCallMethod( g2antt , "ApplyFilter"); |
58 |
How can I can I select programmatically "Blanks/NonBlanks" option in the column's drop down filter
OBJECT column,g2antt; g2antt = ObjectByName("AN1") ; column = _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column"); _ObjectSetProperty( column , "DisplayFilterButton", -1); _ObjectSetProperty( column , "FilterType", 1); _ObjectCallMethod( g2antt , "ApplyFilter"); |
57 |
How can I display the column's filter
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "") , "DisplayFilterButton", -1); |
56 |
How can I show only the vertical scroll bar
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "ColumnAutoResize", -1); _ObjectSetProperty( g2antt , "ScrollBars", 10); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", 1); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", 2); |
55 |
How can I show the control's grid lines only for added/visible items
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "MarkSearchColumn", 0); _ObjectSetProperty( g2antt , "DrawGridLines", -2); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column 1"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column 2"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 0); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 1); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 2); |
54 |
Can I hide the hierarchy lines
|
53 |
Can I change the style or type for the hierarchy lines
|
52 |
Can I use my own icons for the +/- ( expand/collapse ) buttons
|
51 |
How do I change visual appearance of the +/- ( expand/collapse ) buttons
|
50 |
How can I change the "IsChecked/IsUnchecked" caption in the control's filter bar, when I filter for checked items
OBJECT column,g2antt; g2antt = ObjectByName("AN1") ; column = _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column"); _ObjectSetProperty( column , "DisplayFilterButton", -1); _ObjectSetProperty( column , "FilterType", 6); _ObjectSetProperty( column , "Filter", 0); _ObjectCallMethod(g2antt, "ExecuteTemplate", "Description(21) = `Check_On`"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "Description(22) = `Check_Off`"); _ObjectCallMethod( g2antt , "ApplyFilter"); |
49 |
How can I change the "Checked" caption in the drop down filter window, when I filter for checked items
OBJECT column,g2antt; g2antt = ObjectByName("AN1") ; column = _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column"); _ObjectSetProperty( column , "DisplayFilterButton", -1); _ObjectSetProperty( column , "FilterType", 6); _ObjectCallMethod(g2antt, "ExecuteTemplate", "Description(19) = `with check on`"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "Description(20) = `with check off`"); |
48 |
How can I change the name of the week days in the drop down calendar window, being displayed when I filter items between dates
OBJECT column,g2antt; g2antt = ObjectByName("AN1") ; column = _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column"); _ObjectSetProperty( column , "DisplayFilterButton", -1); _ObjectSetProperty( column , "DisplayFilterDate", -1); _ObjectCallMethod(g2antt, "ExecuteTemplate", "Description(18) = `Du Lu Ma Mi Jo Vi Si`"); _ObjectCallMethod( g2antt , "ApplyFilter"); |
47 |
How can I change the name of the months in the drop down calendar window, being displayed when I filter items between dates
OBJECT column,g2antt; g2antt = ObjectByName("AN1") ; column = _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column"); _ObjectSetProperty( column , "DisplayFilterButton", -1); _ObjectSetProperty( column , "DisplayFilterDate", -1); _ObjectCallMethod(g2antt, "ExecuteTemplate", "Description(17) = `Janvier Février Mars Avril Mai Juin Juillet Août Septembre Octobre Novembre Décembre`"); _ObjectCallMethod( g2antt , "ApplyFilter"); |
46 |
Can I change the "Today" caption being displayed in the drop down calendar, when I filter for dates
OBJECT column,g2antt; g2antt = ObjectByName("AN1") ; column = _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column"); _ObjectSetProperty( column , "DisplayFilterButton", -1); _ObjectSetProperty( column , "DisplayFilterDate", -1); _ObjectCallMethod(g2antt, "ExecuteTemplate", "Description(16) = `Azi`"); _ObjectCallMethod( g2antt , "ApplyFilter"); |
45 |
The drop down filter window displays a "to" string between two datem when I filter dates. Can I change that
OBJECT column,g2antt; g2antt = ObjectByName("AN1") ; column = _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column"); _ObjectSetProperty( column , "DisplayFilterButton", -1); _ObjectSetProperty( column , "DisplayFilterDate", -1); _ObjectCallMethod(g2antt, "ExecuteTemplate", "Description(13) = `->`"); _ObjectCallMethod( g2antt , "ApplyFilter"); |
44 |
How can I filter the items that are between an interval/range of dates
OBJECT column,g2antt; g2antt = ObjectByName("AN1") ; column = _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column"); _ObjectSetProperty( column , "DisplayFilterButton", -1); _ObjectSetProperty( column , "DisplayFilterDate", -1); _ObjectCallMethod( g2antt , "ApplyFilter"); |
43 |
Can I change the "Date:" caption when the column's drop down filter window is shown
OBJECT column,g2antt; g2antt = ObjectByName("AN1") ; column = _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column"); _ObjectSetProperty( column , "DisplayFilterButton", -1); _ObjectSetProperty( column , "DisplayFilterDate", -1); _ObjectCallMethod(g2antt, "ExecuteTemplate", "Description(12) = `Range`"); _ObjectCallMethod( g2antt , "ApplyFilter"); |
42 |
Can I filter for values using OR - NOT , instead AND operator
OBJECT column,g2antt; g2antt = ObjectByName("AN1") ; column = _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column 1"); _ObjectSetProperty( column , "DisplayFilterButton", -1); _ObjectSetProperty( column , "FilterType", 1); column = _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column 2"); _ObjectSetProperty( column , "DisplayFilterButton", -1); _ObjectSetProperty( column , "FilterType", 1); column = _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column 3"); _ObjectSetProperty( column , "DisplayFilterButton", -1); _ObjectSetProperty( column , "FilterType", 1); _ObjectSetProperty( g2antt , "FilterCriteria", "%0 or not %1 and %2"); _ObjectCallMethod( g2antt , "ApplyFilter"); |
41 |
Can I change the NOT string in the filter bar
OBJECT column,g2antt; g2antt = ObjectByName("AN1") ; column = _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column 1"); _ObjectSetProperty( column , "DisplayFilterButton", -1); _ObjectSetProperty( column , "FilterType", 1); column = _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column 2"); _ObjectSetProperty( column , "DisplayFilterButton", -1); _ObjectSetProperty( column , "FilterType", 2); _ObjectSetProperty( g2antt , "FilterCriteria", "not %0 or %1"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "Description(24) = ` ! `"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "Description(10) = ` ! IsBlank`"); _ObjectCallMethod( g2antt , "ApplyFilter"); |
40 |
Can I change the OR string in the filter bar
OBJECT column,g2antt; g2antt = ObjectByName("AN1") ; column = _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column 1"); _ObjectSetProperty( column , "DisplayFilterButton", -1); _ObjectSetProperty( column , "FilterType", 1); column = _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column 2"); _ObjectSetProperty( column , "DisplayFilterButton", -1); _ObjectSetProperty( column , "FilterType", 2); _ObjectSetProperty( g2antt , "FilterCriteria", "%0 or %1"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "Description(23) = ` | `"); _ObjectCallMethod( g2antt , "ApplyFilter"); |
39 |
Can I change the AND string in the filter bar
OBJECT column,g2antt; g2antt = ObjectByName("AN1") ; column = _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column 1"); _ObjectSetProperty( column , "DisplayFilterButton", -1); _ObjectSetProperty( column , "FilterType", 1); column = _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column 2"); _ObjectSetProperty( column , "DisplayFilterButton", -1); _ObjectSetProperty( column , "FilterType", 2); _ObjectCallMethod(g2antt, "ExecuteTemplate", "Description(11) = ` & `"); _ObjectCallMethod( g2antt , "ApplyFilter"); |
38 |
The "IsBlank" caption shown in the control's filterbar when I select "Blanks" or "NonBlanks" items in the column's drop down filter window
OBJECT column,g2antt; g2antt = ObjectByName("AN1") ; column = _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column"); _ObjectSetProperty( column , "DisplayFilterButton", -1); _ObjectSetProperty( column , "FilterType", 1); _ObjectCallMethod(g2antt, "ExecuteTemplate", "Description(9) = `Is Empty`"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "Description(10) = `Is Not Empty`"); _ObjectCallMethod( g2antt , "ApplyFilter"); |
37 |
Is there any option to remove the tooltip when the cursor hovers the column's drop down filter window
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column") , "DisplayFilterButton", -1); _ObjectCallMethod(g2antt, "ExecuteTemplate", "Description(4) = ``"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "Description(5) = ``"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "Description(6) = ``"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "Description(7) = ``"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "Description(8) = ``"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "Description(14) = ``"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "Description(15) = ``"); |
36 |
How can I change the "Filter For" caption in the column's drop down filter window
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column") , "DisplayFilterButton", -1); _ObjectCallMethod(g2antt, "ExecuteTemplate", "Description(3) = `new caption`"); |
35 |
Can I remove the "All", "Blanks" and "NonBlanks" items in the drop down filter window
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column") , "DisplayFilterButton", -1); _ObjectCallMethod(g2antt, "ExecuteTemplate", "Description(0) = ``"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "Description(1) = ``"); _ObjectCallMethod(g2antt, "ExecuteTemplate", "Description(2) = ``"); |
34 |
How do I change the "All", "Blanks" or/and "NonBlanks" caption in the drop down filter window
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column") , "DisplayFilterButton", -1); _ObjectCallMethod(g2antt, "ExecuteTemplate", "Description(0) = `new name for (All)`"); |
33 |
How can I change the position of the column
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column 1"); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column 2") , "Position", 0); |
32 |
Can I make strikeout the column's header
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column 1") , "HeaderStrikeOut", -1); |
31 |
How can I apply an strikeout font only a portion of the column's header
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column 1") , "HTMLCaption", "<s>Col</s>umn 1"); |
30 |
How can I get underlined only a portion of column's header
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column 1") , "HTMLCaption", "<u>Col</u>umn 1"); |
29 |
How can I underline the column's header
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column 1") , "HeaderUnderline", -1); |
28 |
How can I apply an italic font only a portion of the column's header
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column 1") , "HTMLCaption", "<i>Col</i>umn 1"); |
27 |
Is there any option to make italic the column's header
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column 1") , "HeaderItalic", -1); |
26 |
How can I bold only a portion of the column's header
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column 1") , "HTMLCaption", "<b>Col</b>umn 1"); |
25 |
Is there any option to bold the column's header
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column 1") , "HeaderBold", -1); |
24 |
Why child items are not shown
OBJECT g2antt,items; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "LinesAtRoot", -1); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column 1"); items = _ObjectGetProperty( g2antt , "Items"); h = _ObjectCallMethod( items , "AddItem", "Root"); _ObjectCallMethod( items , "InsertItem", h,"","Child 1"); _ObjectCallMethod( items , "InsertItem", h,"","Child 2"); _ObjectCallMethod(g2antt, "TemplatePut", "Dim iteObj,h") _ObjectCallMethod(g2antt, "TemplatePut", items) _ObjectCallMethod(g2antt, "TemplatePut", h) _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.ExpandItem(h) = True"); |
23 |
Does your control support partial-check ( three states ) feature for each column
|
22 |
Is there any option to change the color for the grid lines
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", ""); _ObjectSetProperty( g2antt , "DrawGridLines", -1); _ObjectSetProperty( g2antt , "GridLineColor", 255); |
21 |
Can I change the font to display the column's header
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "HeaderHeight", 34); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column 1") , "HTMLCaption", "<font Tahoma;14>Column</font> 1"); |
20 |
Can I change the height of the header bar
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "HeaderHeight", 32); |
19 |
Can I display multiple icons to the column's header
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectCallMethod( g2antt , "Images", "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column 1") , "HTMLCaption", "1<img>1</img> 2 <img>2</img>..."); |
18 |
How can I draw grid lines only for visible items
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "MarkSearchColumn", 0); _ObjectSetProperty( g2antt , "DrawGridLines", -2); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column 1"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column 2"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 0); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 1); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 2); |
17 |
How can I show the control's grid lines
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "MarkSearchColumn", 0); _ObjectSetProperty( g2antt , "DrawGridLines", -1); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column 1"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column 2"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 0); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 1); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", 2); |
16 |
How can I assign a different background color for the entire column
|
15 |
How can I assign a check box for a cell
OBJECT g2antt,items; g2antt = ObjectByName("AN1") ; _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column 1"); items = _ObjectGetProperty( g2antt , "Items"); _ObjectCallMethod( items , "AddItem", 0); _ObjectCallMethod(g2antt, "TemplatePut", "Dim iteObj") _ObjectCallMethod(g2antt, "TemplatePut", items) _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.CellHasCheckBox(AddItem(1),0) = True"); _ObjectCallMethod( items , "AddItem", 2); |
14 |
How can I assign checkboxes for the entire column
|
13 |
How can I show both scrollbars
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "ScrollBars", 15); |
12 |
How can I change the column's width
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "ColumnAutoResize", 0); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column 1") , "Width", 64); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column 2") , "Width", 128); |
11 |
How can I show or hide a column
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Hidden") , "Visible", 0); |
10 |
How can I hide the searching column
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( g2antt , "MarkSearchColumn", 0); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column 1"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Column 2"); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Items") , "AddItem", ); |
9 |
Can I disable sorting a column, when the user clicks the column's header, or drag it to the sort bar
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Unsortable") , "AllowSort", 0); _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Sortable"); |
8 |
Is there any option to align the header to the left and the data to the right
OBJECT column,g2antt,items; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Left") , "Alignment", 0); column = _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "Right"); _ObjectSetProperty( column , "Alignment", 2); _ObjectSetProperty( column , "HeaderAlignment", 2); items = _ObjectGetProperty( g2antt , "Items"); _ObjectCallMethod(g2antt, "TemplatePut", "Dim iteObj") _ObjectCallMethod(g2antt, "TemplatePut", items) _ObjectCallMethod(g2antt, "ExecuteTemplate", "iteObj.CellValue(AddItem(`left`),1) = `right`"); |
7 |
Can I displays a custom size picture to column's header
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectCallMethod(g2antt, "ExecuteTemplate", "HTMLPicture(`pic1`) = `c:\exontrol\images\zipdisk.gif`"); _ObjectSetProperty( g2antt , "HeaderHeight", 48); _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "ColumnName") , "HTMLCaption", "<b>HTML</b> Column <img>pic1</img> Picture"); |
6 |
How can I insert an icon to column's header
|
5 |
How can I insert an icon to column's header
|
4 |
How can I use HTML format in column's header
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "ColumnName") , "HTMLCaption", "<b>HTML</b> <fgcolor=0000FF>Col</fgcolor>umn"); |
3 |
How can I change/rename the column's name
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "ColumnName") , "Caption", "NewName"); |
2 |
How can I add multiple columns
OBJECT columns,g2antt; g2antt = ObjectByName("AN1") ; columns = _ObjectGetProperty( g2antt , "Columns"); _ObjectCallMethod( columns , "Add", "Column 1"); _ObjectCallMethod( columns , "Add", "Column 2"); |
1 |
How can I add a new column
OBJECT g2antt; g2antt = ObjectByName("AN1") ; _ObjectCallMethod( _ObjectGetProperty( g2antt , "Columns") , "Add", "caption"); |